<?php


namespace gizwits\src\Request;


use gizwits\src\Exception\GizwitsException;

trait Put
{
    public function put()
    {
        try {
            dump(__METHOD__);
            dump(__FUNCTION__);
            return (new Request())->request(strtoupper(__FUNCTION__), $this->getFullApi(), $this->data);
        } catch (GizwitsException $e) {
            dump($e->getMessage());
        }
    }
}